#ifndef INPUT_H
#define INPUT_H


#include <types.h>

using namespace std;
class input{
public:
	static int xold;
	static int yold;
	static int xnew;
	static int ynew;
	static enum SYSTEM_MSG key;
	static int fd;

	static int init();
	static int exit();
	static void * receive(void *p);
	
	input();
	~input();

};

#define		ESC			1

#define		DIGITAL_1		2
#define		DIGITAL_2		3
#define		DIGITAL_3		4
#define		DIGITAL_4		5
#define		DIGITAL_5		6
#define		DIGITAL_6		7
#define		DIGITAL_7		8
#define		DIGITAL_8		9
#define		DIGITAL_9		10



#define		UP			103
#define		DOWN			108
#define		LEFT			105
#define		RIGHT			106

#define		ENTER			28
#define		DOCKUI			29
#endif
